<%@ Page Language="C#" MasterPageFile="app-frame.master" AutoEventWireup="true" CodeFile="QCAnalytic.aspx.cs" Inherits="QCAnalytic" Title="Untitled Page" %>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">

        <asp:Label ID="LblMessage" runat="server" ForeColor="Red"></asp:Label><br />
        <br />
        <asp:Panel ID="Panel1" runat="server" Height="228px" Width="775px">
            <table style="height: 261px" width="100%" id="TblBC">
                <tr>
                    <td style="width: 237px">
                    </td>
                    <td style="width: 100px">
                    </td>
                </tr>
                <tr>
                    <td style="width: 237px; height: 26px; text-align: right;">
                        <strong>Analytic Id:</strong></td>
                    <td style="width: 100px; height: 26px;">
                        <asp:TextBox ID="TxtAnalyticsID" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 237px; text-align: right; height: 25px;">
                        <strong>Analytic Name:</strong></td>
                    <td style="width: 100px; text-align: left; height: 25px;">
                        <asp:TextBox ID="TxtAnalytics" runat="server" Width="219px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 237px; height: 18px; text-align: right;">
                        <strong>Description:</strong></td>
                    <td style="width: 100px; height: 18px; text-align: left;">
                        <asp:TextBox ID="TxtAnalyticsDesc" runat="server" Width="219px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 237px; text-align: right;">
                        <strong>SQL Query:</strong></td>
                    <td style="width: 100px; text-align: left;">
                        &nbsp;<asp:DropDownList ID="ListQuery" runat="server" Width="430px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="width: 237px; height: 25px;">
                    </td>
                    <td style="width: 100px; height: 25px; text-align: left;">
                        &nbsp;<asp:Button ID="ButQueryList" runat="server" OnClick="ButQueryList_Click" Text="Next"
                            Width="60px" /></td>
                </tr>
                <tr>
                    <td style="width: 237px; height: 50px">
                        </td>
                    <td style="width: 100px; height: 50px">
                        <asp:DropDownList ID="CmbSavedData" runat="server" Width="150px" Visible="False">
                        </asp:DropDownList></td>
                </tr>
            </table>
        </asp:Panel>
    &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
    
        <asp:Panel ID="Panel2" runat="server" Height="228px" Width="775px">
       <script language="JavaScript" type="text/javascript" src="scripts/QCAnalytic.js"></script><%--Added by Jayashree on 12-Sep-2014,for js file--%>
            <table style="width: 765px; height: 223px">
                <tr>
                    <td rowspan="3" style="width: 23px" valign="top">
                        <asp:Label ID="Label4" runat="server" Text="Fields"></asp:Label><asp:ListBox ID="LstField" runat="server" Height="453px" Width="249px"></asp:ListBox></td>
                    <td style="width: 32px; text-align: center;">
                        <asp:Button ID="ButRow" runat="server" OnClick="ButRow_Click" Text=">>" Width="76px" /><br />
                        &nbsp;<asp:Button ID="ButRowBack" runat="server" OnClick="ButRowBack_Click" Text="<<"
                            Width="78px" /></td>
                    <td style="width: 100px; text-align: left">
                        <asp:Label ID="Label1" runat="server" Text="Row Dimension" Width="150px"></asp:Label><br />
                        <asp:ListBox ID="LstRowField" runat="server" Height="150px" Width="150px"></asp:ListBox></td>
                <td>
                    <asp:Button ID="Button2" runat="server" Text="U" OnClick="Button2_Click" /><br />
                    <asp:Button ID="Button3" runat="server" Text="D" OnClick="Button3_Click" /></td>
                </tr>
                <tr>
                    <td style="width: 32px; text-align: center;">
                        <asp:Button ID="ButCol" runat="server" OnClick="ButCol_Click" Text=">>" Width="75px" /><br />
                        <asp:Button ID="ButColBack" runat="server" OnClick="ButColBack_Click" Text="<<"
                            Width="75px" /></td>
                    <td style="width: 100px; text-align: left">
                        <asp:Label ID="Label2" runat="server" Text="Column Dimension" Width="136px"></asp:Label><br />
                        <asp:ListBox ID="LstColField" runat="server" Height="150px" Width="150px"></asp:ListBox></td>
                     <td>
                         <asp:Button ID="Button4" runat="server" Text="U" OnClick="Button4_Click1" /><br />
                         <asp:Button ID="Button5" runat="server" Text="D" OnClick="Button5_Click" /></td>
                </tr>
                <tr>
                    <td style="width: 32px; height: 4px; text-align: center;">
                        <br />
                        <asp:Button ID="ButData" runat="server" OnClick="ButData_Click" Text=">>" Width="77px" /><br />
                        <asp:Button ID="ButDataBack" runat="server" OnClick="ButDataBack_Click" Text="<<"
                            Width="78px" /><br />
                        <br />
                        &nbsp;</td>
                    <td style="width: 100px; height: 4px; text-align: left">
                        <asp:Label ID="Label3" runat="server" Text="Data"></asp:Label><br />
                        <asp:Panel ID="PnlTable" runat="server" Height="150px" Width="125px" ScrollBars="Vertical">
                            </asp:Panel>
                        &nbsp;
                    </td>
                    <td>
                        </td>
                </tr>
                <tr>
                    <td style="height: 11px; text-align: center;" colspan="3">
                        <asp:Button ID="ButBackToWiz1" runat="server" Text="Back" Width="95px" OnClick="ButBackToWiz1_Click" />
                        &nbsp;<asp:Button ID="Button1" runat="server" OnClick="Button4_Click" Text="Next"
                            Width="93px" />
                        </td>
                </tr>
                <tr>
                    <td style="width: 23px">
                    </td>
                    <td style="width: 32px">
                    </td>
                    <td style="width: 100px">
                    </td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel ID="Panel3" runat="server" Height="228px" Width="775px">
        <object id="dialog" classid="CLSID:F9043C85-F6F2-101A-A3C9-08002B2F49FB" height="1"
                            width="1">
                        </object>
                        <center>
                            &nbsp;</center>
                        
     <script language="JavaScript" type="text/javascript" src="scripts/QCAnalytic_middle.js"></script><%--Added by Jayashree on 12-Sep-2014,for js file--%>
                        
            <table style="width: 766px; height: 231px">
                <tr>
                    <td colspan="2" style="height: 95px">
                    
                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="table1">
                    <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td style="width: 1805577px">&nbsp;</td>
                    <td style="width: 44643px; text-align: right;">&nbsp;<input id="ButExpExcel" type="button" value="Export To Excel" onclick="return ButExpExcel_onclick()" /></td>
                    <td style="width: 954px; text-align: right;">&nbsp;<input id="ButExpHTML" type="button" value="Export To HTML" onclick="return ButExpHTML_onclick()" /></td>
                    <td style="text-align: right">&nbsp;<input id="ButPrint" style="width: 134px" type="button" value="Print" onclick="return ButPrint_onclick()" /></td>
                    </tr>
                    </table>
                        </td>
                </tr>
                <tr>
                    <td style="width: 4px">
                    </td>
                    <td style="width: 100px">
                            <asp:HiddenField ID="HidCubName" runat="server" />
  
                            <object id="DCube" classid="clsid:6D63F73D-3688-3000-9C0F-00A0C90F29FC" style="width: 1000px;height:500px">
                            </object>
  <script language="JavaScript" type="text/javascript" src="scripts/QCAnalytic_bottom.js"></script><%--Added by Jayashree on 12-Sep-2014,for js file--%>
                        </td>
                </tr>
                <tr>
                    <td style="width: 4px">
                    </td>
                    <td style="width: 100px">
                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="table2">
                    <tr>
                    <td style="text-align: right">&nbsp;</td>
                    <td style="text-align: center">&nbsp;<asp:Button ID="ButBackToWiz2" runat="server" Text="Back" Width="95px" OnClick="ButBackToWiz2_Click1" />
                        <asp:Button ID="ButFinish"
                            runat="server" Text="Save" Width="95px" OnClick="ButFinish_Click" /></td>
                    <td>&nbsp;</td>
                    </tr>
                    </table>
                    </td>
                </tr>
                <tr>
                    <td style="width: 4px; height: 40px">
                    </td>
                    <td style="width: 100px; height: 40px">
                        &nbsp; &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 4px">
                    </td>
                    <td style="width: 100px">
                        </td>
                </tr>
            </table>
        </asp:Panel>
</asp:Content>

